Ext.define('FM.view.Main', {
    extend:'Ext.container.Container' ,
    alias: 'widget.main',
    
    requires: [ 
               'Ext.toolbar.Toolbar',
               'Ext.tab.Panel',
               	'Ext.Component'
               ],
    layout: {
        type:'vbox',
        align:'stretch'
    },
    initComponent: function() {
    
    	 
        this.items = [{
        	xtype:'component',
        	flex:2,
        	contentEl :'header'
        },{
        	xtype:'toolbar',
        	 flex:1,
        	items:[{
        		text:'222'
        	}]
        },{
            xtype: 'tabpanel',
            flex:20,
            border:false,
            activeItem: 0,
            items:[{
            	xtype:'panel',
            	closable:true,
            	title:'ddd'
            }]
        }];
        
       
        this.callParent(arguments);
    }
});